<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <!--使用ie最新渲染模式-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!--国产浏览器使用高速模式渲染页面，而不兼容模式-->
    <meta name="renderer" content="webkit">

    <title>Simple Web Based On Bootstrap</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.css" rel="stylesheet">
    <link href="plugin/font-awesome-3.2.1/css/font-awesome.min.css" rel="stylesheet">
    <link href="plugin/bootstrap-datepicker/css/datepicker.css" rel="stylesheet">
    <link href="plugin/umeditor1_2_2/themes/default/css/umeditor.min.css" rel="stylesheet">

    <link href="css/main.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="js/html5shiv.min.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<!--top nav bar-->
<nav class="navbar navbar-inverse navbar-fixed-top sw-navbar" role="navigation">
    <a class="navbar-brand">Simple Web UI</a>
    <ul class="nav navbar-nav navbar-right">
        <li><a class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#"><span
                class="glyphicon glyphicon-user"></span> 用户</a>
            <ul class="dropdown-menu">
                <li><a href="#"><span class="glyphicon glyphicon-qrcode"></span> 修改密码</a></li>
                <li><a href="#"><span class="glyphicon glyphicon-th"></span> 个人资料</a></li>
                <li class="divider"></li>
                <li><a href="#"><span class="glyphicon glyphicon-off"></span> 退出</a></li>
            </ul>
        </li>
        <li><a href="#"><span class="glyphicon glyphicon-cog"></span> 设置</a></li>
        <li><a href="#"><span class="glyphicon glyphicon-question-sign"></span> Help</a></li>
    </ul>
</nav>
<!--end top nav bar-->
<!--main content -->
<div class="main-content">
    <div class="sidebar">
        <ul class="nav nav-sidebar">
            <li class="active"><a href="#"><span class="glyphicon glyphicon-th-large"></span> 控制台</a></li>
            <li><a href="#" data-toggle="collapse" data-target="#sub1" aria-expanded="true" aria-controls="sub1"><span
                    class="glyphicon glyphicon-folder-close"></span> 功能菜单一</a>
                <ul id="sub1" class="nav submenu collapse">
                    <li><a href="#"><span class="glyphicon glyphicon-plus"></span> 功能菜单一-A</a>
                    <li><a href="#"><span class="glyphicon glyphicon-plus"></span> 功能菜单一-C</a>
                    <li><a href="#"><span class="glyphicon glyphicon-plus"></span> 功能菜单一-C</a>
                </ul>

            </li>
            <li><a href="#" data-toggle="collapse" data-target="#sub2" aria-expanded="false" aria-controls="sub2"><span
                    class="glyphicon glyphicon-folder-close"></span> 功能菜单二</a>
                <ul id="sub2" class="nav submenu collapse in">
                    <li><a href="#"><span class="glyphicon glyphicon-plus"></span> 功能菜单二-A</a>
                    <li><a href="#"><span class="glyphicon glyphicon-plus"></span> 功能菜单二-C</a>
                    <li><a href="#"><span class="glyphicon glyphicon-plus"></span> 功能菜单二-C</a>
                </ul>
            </li>
            <li><a href="#"><span class="glyphicon glyphicon-folder-close"></span> 功能菜单三</a></li>
            <li><a href="#"><span class="glyphicon glyphicon-folder-close"></span> 功能菜单四</a></li>
            <li><a href="#"><span class="glyphicon glyphicon-folder-close"></span> 功能菜单五</a></li>
            <li><a href="#"><span class="glyphicon glyphicon-folder-close"></span> 功能菜单六</a></li>
        </ul>
    </div>
    <div class="workspace">
        <div class="panel panel-primary">
            <div class="panel-heading"><i class="icon-edit icon-large"></i> Panel Title</div>
            <div class="panel-body">
                <!--表单-->
                <form class="form-horizontal">
                    <div class="form-group ">
                        <label class="col-xs-1 control-label">Text1</label>

                        <div class="col-xs-5">
                            <input type="text" class="form-control" placeholder="text1">
                        </div>
                        <label class="col-xs-1 control-label">Text2</label>

                        <div class="col-xs-5 has-success has-feedback">
                            <input type="text" class="form-control" placeholder="text2">
                            <span class="glyphicon glyphicon-ok form-control-feedback"></span>
                        </div>
                    </div>
                    <div class="form-group ">
                        <label class="col-xs-1 control-label">日期(HTML5)</label>

                        <div class="col-xs-5">
                            <input type="date" class="form-control" placeholder="text1">
                        </div>
                        <label class="col-xs-1 control-label">时间(HTML5)</label>

                        <div class="col-xs-5">
                            <input type="time" class="form-control" placeholder="text2">
                        </div>
                    </div>
                    <div class="form-group ">
                        <label class="col-xs-1 control-label">日期(plugin)</label>
                        <div class="col-xs-5" style="z-index: 2000">
                            <input type="text" class="form-control" data-provide="datepicker" data-date-autoclose="true"
                                   data-date-format="yyyy-mm-dd" data-date-language="zh-CN" placeholder="text2" >
                        </div>
                        <label class="col-xs-1 control-label">日期(plugin)</label>
                        <div class="col-xs-5" style="z-index: 2000">
                            <div class="input-group date " id="date-input" >
                                <input type="text" class="form-control" >
                                <span class="input-group-addon"><i class="icon-calendar"></i></span>
                            </div>

                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-xs-1 control-label">多选</label>
                        <label class="checkbox-inline col-xs-1" style="margin-left: 15px">
                            <input type="checkbox" value="option1"> 选择1
                        </label>
                        <label class="checkbox-inline col-xs-1">
                            <input type="checkbox" value="option2"> 选择2
                        </label>
                        <label class="checkbox-inline col-xs-1">
                            <input type="checkbox" value="option3"> 选择3
                        </label>
                        <label class="checkbox-inline col-xs-1">
                            <input type="checkbox" value="option1"> 选择4
                        </label>
                        <label class="checkbox-inline col-xs-1">
                            <input type="checkbox" value="option2"> 选择5
                        </label>
                        <label class="checkbox-inline col-xs-1">
                            <input type="checkbox" value="option3"> 选择6
                        </label>
                    </div>

                    <div class="form-group">
                        <label class="col-xs-1 control-label">下拉列表</label>

                        <div class="col-xs-5">
                            <select class="form-control">
                                <option>1</option>
                                <option>2</option>
                                <option>3</option>
                                <option>4</option>
                                <option>5</option>
                            </select>
                        </div>
                        <label class="col-xs-1 control-label">文件选择</label>
                        <div class="col-xs-5">
                            <input class="form-control" type="file" value="">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-1 control-label">文本编辑</label>
                        <div class="col-xs-11">
                            <script type="text/plain" id="umeditor" style="width:100%;height:150px">百度精简版本编辑器，好用
                            </script>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-xs-1 col-xs-offset-5">
                            <button type="submit" class="btn btn-primary"><i class="icon-ok"></i> 提交</button>
                        </div>
                        <div class="col-xs-1">
                            <button type="reset" class="btn btn-warning"><i class="icon-remove"></i>重设</button>
                        </div>
                    </div>
                </form>
                <!--end 表单-->
            </div>
        </div>
        <div class="panel panel-default">
            <div class="panel-heading"><i class="icon-table icon-large"></i> 表格数据</div>
            <div class="panel-body">
                <table class="table table-condensed">
                    <thead>
                    <tr>
                        <th>#</th>
                        <th>First Name</th>
                        <th>Last Name</th>
                        <th>Username</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>1</td>
                        <td>Mark</td>
                        <td>Otto</td>
                        <td>@mdo</td>
                    </tr>
                    <tr>
                        <td>2</td>
                        <td>Jacob</td>
                        <td>Thornton</td>
                        <td>@fat</td>
                    </tr>
                    <tr>
                        <td>3</td>
                        <td colspan="2">Larry the Bird</td>
                        <td>@twitter</td>
                    </tr>
                    </tbody>
                </table>
                <nav class="clearfix">
                    <ul class="pagination pull-right">
                        <li><a href="#">&laquo;</a></li>
                        <li><a href="#">1</a></li>
                        <li><a href="#">2</a></li>
                        <li><a href="#">3</a></li>
                        <li><a href="#">4</a></li>
                        <li><a href="#">5</a></li>
                        <li><a href="#">&raquo;</a></li>
                    </ul>
                </nav>
            </div>
        </div>
    </div>

</div>
<!--end main content -->
<!-- footer -->
<footer class="sw-footer navbar-inverse navbar-fixed-bottom">
    <div class="wrapper">
        <p class="text-center">copy right bone 2014</p>
    </div>
</footer>
<!-- end footer -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>

<!-- Include all compiled plugins (below), or include individual files as needed -->
<script type="text/javascript" src="js/bootstrap.js"></script>

<script type="text/javascript" src="plugin/bootstrap-datepicker/js/bootstrap-datepicker.js"  charset="UTF-8"></script>
<script type="text/javascript" src="plugin/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js"></script>

<script type="text/javascript" src="plugin/umeditor1_2_2/umeditor.config.js"></script>
<script type="text/javascript" src="plugin/umeditor1_2_2/umeditor.min.js"></script>
<script type="text/javascript" src="plugin/umeditor1_2_2/lang/zh-cn/zh-cn.js"></script>


<script>
    $(document).ready(function () {
        var um = UM.getEditor('umeditor');

        $("#date-input").datepicker({
            language:"zh-CN",
            autoclose:true
        });
    });

</script>
</body>
</html>